SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 47184: Using a denominator definition with special percentages in PROC TABULATE causes a Read Access Violation

DetailsAboutRate It

Special percentages in PROC TABULATE include COLPCTN, COLPCTSUM, ROWPCTN, ROWPCTSUM, PAGEPCTN, and PAGEPCTSUM. These do not require a denominator definition since the denominator is understood. Adding a denominator definition can result in a Read Access Violation.

The following code replicates the problem:

   proc tabulate data=sashelp.class;
    class sex age;
    table sex age, colpctn<sex age>;
   run;

The code above generates the following messages:

   WARNING: Invalid denominator nesting element: sex.
   WARNING: Invalid denominator nesting element: age.
   ERROR:  Read Access Violation In Task [ TABULATE ]

To correct the problem, remove the denominator definition as shown below.

   proc tabulate data=sashelp.class;
    class sex age;
    table sex age, colpctn;
   run;


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASz/OS9.21_M19.49.2 TS2M39.4 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows XP 64-bit Edition9.21_M19.49.2 TS2M39.4 TS1M0
Microsoft® Windows® for x649.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 Standard Edition9.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows Server 2003 for x649.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows Server 20089.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows Server 2008 for x649.21_M19.49.2 TS2M39.4 TS1M0
Microsoft Windows XP Professional9.21_M19.49.2 TS2M39.4 TS1M0
Windows 7 Enterprise 32 bit9.21_M19.2 TS2M3
Windows 7 Enterprise x649.21_M19.2 TS2M3
Windows 7 Home Premium 32 bit9.21_M19.2 TS2M3
Windows 7 Home Premium x649.21_M19.2 TS2M3
Windows 7 Professional 32 bit9.21_M19.2 TS2M3
Windows 7 Professional x649.21_M19.2 TS2M3
Windows 7 Ultimate 32 bit9.21_M19.2 TS2M3
Windows 7 Ultimate x649.21_M19.2 TS2M3
Windows Vista9.21_M19.49.2 TS2M39.4 TS1M0
Windows Vista for x649.21_M19.49.2 TS2M39.4 TS1M0
64-bit Enabled AIX9.21_M19.49.2 TS2M39.4 TS1M0
64-bit Enabled HP-UX9.21_M19.49.2 TS2M39.4 TS1M0
64-bit Enabled Solaris9.21_M19.49.2 TS2M39.4 TS1M0
HP-UX IPF9.21_M19.49.2 TS2M39.4 TS1M0
Linux9.21_M19.49.2 TS2M39.4 TS1M0
Linux for x649.21_M19.49.2 TS2M39.4 TS1M0
OpenVMS on HP Integrity9.21_M19.49.2 TS2M39.4 TS1M0
Solaris for x649.21_M19.49.2 TS2M39.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.